<script>
	export default {
		onLaunch: function() {
			let myInfo = uni.getStorageSync('myInfo')
			if (myInfo === '') {
				uni.navigateTo({
					url: '/subpkg/login/login'
				})
				return;
			}
			uni.hideTabBar();
		},
		onShow: function() {},
		onHide: function() {}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "@/uni_modules/uview-plus/index.scss";
</style>